/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.meego.common.gearman;

/**
 *
 * @author TueHM
 */
public class JobEnt {

    private Long JobId;
    private Long UserId;
    private Long ItemId;
    private String ItemKey;
    private short ActionType;
    private Long Timestamp;
    private String DataLog;
    private String Data;
    private String Note;
    private String ClientIP;

    public JobEnt() {
        this.JobId = Long.valueOf(0L);
        this.UserId = Long.valueOf(0L);
        this.ItemId = Long.valueOf(0L);
        this.ItemKey = "";
        this.ActionType = 0;
        this.Timestamp = Long.valueOf(System.currentTimeMillis());
        this.DataLog = "";
        this.Data = "";
        this.Note = "";
        this.ClientIP = "";
    }

    public JobEnt(Long userId, Long itemId, String itemKey, short actionType, Long timestamp, String dataLog, String data, String note, String clientIP) {
        this.JobId = Long.valueOf(0L);
        this.UserId = userId;
        this.ItemId = itemId;
        this.ItemKey = itemKey;
        this.ActionType = actionType;
        this.Timestamp = timestamp;
        this.DataLog = dataLog;
        this.Data = data;
        this.Note = note;
        this.ClientIP = clientIP;
    }

    /**
     * @return the JobId
     */
    public Long getJobId() {
        return JobId;
    }

    /**
     * @param JobId the JobId to set
     */
    public JobEnt setJobId(Long JobId) {
        this.JobId = JobId;
        return this;
    }

    /**
     * @return the UserId
     */
    public Long getUserId() {
        return UserId;
    }

    /**
     * @param UserId the UserId to set
     */
    public JobEnt setUserId(Long UserId) {
        this.UserId = UserId;
        return this;
    }

    /**
     * @return the ItemId
     */
    public Long getItemId() {
        return ItemId;
    }

    /**
     * @param ItemId the ItemId to set
     */
    public JobEnt setItemId(Long ItemId) {
        this.ItemId = ItemId;
        return this;
    }

    /**
     * @return the ItemKey
     */
    public String getItemKey() {
        return ItemKey;
    }

    /**
     * @param ItemKey the ItemKey to set
     */
    public JobEnt setItemKey(String ItemKey) {
        this.ItemKey = ItemKey;
        return this;
    }

    /**
     * @return the ActionType
     */
    public short getActionType() {
        return ActionType;
    }

    /**
     * @param ActionType the ActionType to set
     */
    public JobEnt setActionType(short ActionType) {
        this.ActionType = ActionType;
        return this;
    }

    /**
     * @return the Timestamp
     */
    public Long getTimestamp() {
        return Timestamp;
    }

    /**
     * @param Timestamp the Timestamp to set
     */
    public JobEnt setTimestamp(Long Timestamp) {
        this.Timestamp = Timestamp;
        return this;
    }

    /**
     * @return the DataLog
     */
    public String getDataLog() {
        return DataLog;
    }

    /**
     * @param DataLog the DataLog to set
     */
    public JobEnt setDataLog(String DataLog) {
        this.DataLog = DataLog;
        return this;
    }

    /**
     * @return the Data
     */
    public String getData() {
        return Data;
    }

    /**
     * @param Data the Data to set
     */
    public JobEnt setData(String Data) {
        this.Data = Data;
        return this;
    }

    /**
     * @return the Note
     */
    public String getNote() {
        return Note;
    }

    /**
     * @param Note the Note to set
     */
    public JobEnt setNote(String Note) {
        this.Note = Note;
        return this;
    }

    /**
     * @return the ClientIP
     */
    public String getClientIP() {
        return ClientIP;
    }

    /**
     * @param ClientIP the ClientIP to set
     */
    public JobEnt setClientIP(String ClientIP) {
        this.ClientIP = ClientIP;
        return this;
    }
}
